export const statusList: any[] = [
	{
		title: '全部',
		count: 0,
		field: 'total',
		value: ''
	},
	{
		title: '待处理',
		count: 0,
		field: 'unprocessed',
		value: 2
	},
	{
		title: '已完成',
		count: 0,
		field: 'confirmed',
		value: 3
	},
	{
		title: '已拒绝',
		count: 0,
		field: 'canceled',
		value: 1
	}
]
export const labelStatus: {
	[key: string | number]: any
} = {
	2: {
		name: '待处理',
		color: 'processing',
		operation: [
			{
				name: '续租',
				field: 'showSignContract',
				sort: 1,
				type: 'primary',
				action: ['mk_contract_change_renewal_xz']
			},
			{
				name: '拒绝',
				field: 'showRefuse',
				sort: 0,
				type: 'danger',
				action: ['mk_contract_change_renewal_jj']
			},
			{
				name: '查看合同',
				field: 'showSeeContract',
				sort: 2,
				type: 'primary',
				action: ['mk_contract_change_renewal_ckht']
			}
		]
	},
	3: {
		name: '已完成',
		color: 'success',
		operation: [
			{
				name: '续租前合同',
				field: 'showRentBeforeContract',
				sort: 0,
				type: 'default',
				action: ['mk_contract_change_renewal_xzqht']
			},
			{
				name: '续租后合同',
				field: 'showRentAfterContract',
				sort: 1,
				type: 'default',
				action: ['mk_contract_change_renewal_xzhht']
			}
		]
	},
	4: {
		name: '已拒绝',
		color: 'error',
		operation: [
			{
				name: '查看合同',
				field: 'showSeeContract',
				sort: 0,
				type: 'primary',
				action: ['mk_contract_change_renewal_ckht']
			}
		]
	},
	5: {
		name: '已拒绝',
		color: 'error',
		operation: [
			{
				name: '查看合同',
				field: 'showSeeContract',
				sort: 0,
				type: 'primary',
				action: ['mk_contract_change_renewal_ckht']
			}
		]
	}
}
